package com.huishao.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huishao.api.common.R;
import com.huishao.api.entity.User;
import com.huishao.api.common.PageResult;

/**
 * (User)表服务接口
 *
 * @author huishao
 * @since 2022-12-29 15:29:28
 */
public interface UserService extends IService<User> {

    PageResult getPage(Integer currentPage, Integer size, User user);

    R<Object> login(String loginName, String password);

    R<Object> loginOut(String tokenBody);
}

